﻿/* Open source distributed without warranties of any kind. */

namespace Transcriber.Plugins
{
    #region Using
    using System;
    using System.Text.RegularExpressions;
    #endregion

    /// <summary>
    /// Interface implemented by objects that can be
    /// referenced in XML rules files to handle
    /// text replacements programmatically.
    /// </summary>
    public interface IRuleEvaluator : IDisposable
    {
        /// <summary>
        /// Evaluates the specified match.
        /// </summary>
        /// <param name="match">The match.</param>
        /// <returns></returns>
        string Evaluate(Match match);
    }
}
